﻿
namespace FShop_DAL{
    using System;

    ///<summary>
    ///The Class Provides properties for common database table operations. 
    ///</summary>
    ///<remarks>
    ///Changes to this file may cause incorrect behavior and will be lost if  the code is regenerated.
    ///Update the <see cref="UserDal"/> class if you need to add or change some functionality
    ///</remarks>
    public class User{

#region Private properties

     private System.Int32 user_id ;
     private System.String user_name ;
     private System.String user_email ;
     private System.String user_address ;
     private System.String user_password ;
     private System.Boolean user_sex ;
     private System.String user_phone ;
     private System.String user_company ;
     private System.Boolean user_status ;
     private System.Int32 user_type ;
     private System.Boolean user_isadmin ;
     private System.String user_nick ;
#endregion

#region Contructor

    public User()
      {
              user_id = int.MinValue;
              user_name = string.Empty;
              user_email = string.Empty;
              user_address = string.Empty;
              user_password = string.Empty;
              user_sex = false;
              user_phone = string.Empty;
              user_company = string.Empty;
              user_status = false;
              user_type = int.MinValue;
              user_isadmin = false;
              user_nick = string.Empty;
      }

#endregion
#region Public properties

      public System.Int32 User_ID 
      {

         get
         {
             return user_id ;
         }
         set
         {
             user_id = value ;
         }

      }
      public System.String User_Name 
      {

         get
         {
             return user_name ;
         }
         set
         {
             user_name = value ;
         }

      }
      public System.String User_Email 
      {

         get
         {
             return user_email ;
         }
         set
         {
             user_email = value ;
         }

      }
      public System.String User_Address 
      {

         get
         {
             return user_address ;
         }
         set
         {
             user_address = value ;
         }

      }
      public System.String User_Password 
      {

         get
         {
             return user_password ;
         }
         set
         {
             user_password = value ;
         }

      }
      public System.Boolean User_Sex 
      {

         get
         {
             return user_sex ;
         }
         set
         {
             user_sex = value ;
         }

      }
      public System.String User_Phone 
      {

         get
         {
             return user_phone ;
         }
         set
         {
             user_phone = value ;
         }

      }
      public System.String User_Company 
      {

         get
         {
             return user_company ;
         }
         set
         {
             user_company = value ;
         }

      }
      public System.Boolean User_Status 
      {

         get
         {
             return user_status ;
         }
         set
         {
             user_status = value ;
         }

      }
      public System.Int32 User_Type 
      {

         get
         {
             return user_type ;
         }
         set
         {
             user_type = value ;
         }

      }
      public System.Boolean User_IsAdmin 
      {

         get
         {
             return user_isadmin ;
         }
         set
         {
             user_isadmin = value ;
         }

      }
      public System.String User_Nick 
      {

         get
         {
             return user_nick ;
         }
         set
         {
             user_nick = value ;
         }

      }
#endregion

#region Private methods

#endregion
#region Public  methods

#endregion

  }
}
